﻿using DeMeng.Models.Enums.Sms;
using DeMeng.Models.Models.Sms;
using DeMeng.Repository.BaseRepository;
using System.Threading.Tasks;

namespace DeMeng.Repository.Sms
{
    public interface ISmsRepository : IBaseRepository<SmsEntity>
    {
        Task<SmsEntity> GetPhoneCode(string phoneNumber, SmsTypeEnum smsType = SmsTypeEnum.验证码);
    }
}